package com.jiazhong.oop;

public class Demo02 {
    public static void main(String[] args) {
        Cat cat2=new Cat();
        cat2.age=12;
        cat2.color="黑色";
        cat2.name="大黑";
        System.out.println(cat2.name+cat2.age+cat2.color);
    }
}

